package com.witte.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Offer {
    private String offerno;

    private String userno;

    private String username;

    private Integer offerprice;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date offerdate;

    public String getOfferno() {
        return offerno;
    }

    public void setOfferno(String offerno) {
        this.offerno = offerno == null ? null : offerno.trim();
    }

    public String getUserno() {
        return userno;
    }

    public void setUserno(String userno) {
        this.userno = userno == null ? null : userno.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getOfferprice() {
        return offerprice;
    }

    public void setOfferprice(Integer offerprice) {
        this.offerprice = offerprice;
    }

    public Date getOfferdate() {
        return offerdate;
    }

    public void setOfferdate(Date offerdate) {
        this.offerdate = offerdate;
    }
}